<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Store_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-store_id" data-rule="required" data-source="store/store/index" class="form-control selectpage" name="row[store_id]" type="text" value="{$row.store_id|htmlentities}" data-field="name" data-primary-key="store_id" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Technician_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-technician_id" data-rule="required" data-source="technician/technician/index" class="form-control selectpage" name="row[technician_id]" type="text" value="{$row.technician_id|htmlentities}" data-field="technician_name" data-primary-key="technician_id" readonly>
        </div>
    </div>
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Address_id')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-address_id" data-rule="required" data-source="address/index" class="form-control selectpage" name="row[address_id]" type="text" value="{$row.address_id|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-uid" class="form-control" name="row[uid]" type="number" value="{$row.uid|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Serve_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-serve_id" data-rule="required" data-source="store/serve/index" class="form-control selectpage" name="row[serve_id]" type="text" value="{$row.serve_id|htmlentities}" data-field="serve_name" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_sn" data-rule="required" class="form-control" name="row[order_sn]" type="text" value="{$row.order_sn|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[order_time]" type="text" value="{:$row.order_time?datetime($row.order_time):''}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_note')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_note" class="form-control" name="row[order_note]" type="text" value="{$row.order_note|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Quantity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-quantity" data-rule="required" class="form-control" name="row[quantity]" type="number" value="{$row.quantity|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Distance')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-distance" class="form-control" step="0.01" name="row[distance]" type="number" value="{$row.distance|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phone" class="form-control" name="row[phone]" type="text" value="{$row.phone|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Uname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-uname" class="form-control" name="row[uname]" type="text" value="{$row.uname|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gender')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-gender" class="form-control selectpicker" name="row[gender]" readonly>
                {foreach name="genderList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.gender"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[pay_time]" type="text" value="{:$row.pay_time?datetime($row.pay_time):''}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Departure_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-departure_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[departure_time]" type="text" value="{:$row.departure_time?datetime($row.departure_time):''}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Beginserve_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-beginserve_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[beginserve_time]" type="text" value="{:$row.beginserve_time?datetime($row.beginserve_time):''}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Endserve_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-endserve_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[endserve_time]" type="text" value="{:$row.endserve_time?datetime($row.endserve_time):''}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cancel_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cancel_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[cancel_time]" type="text" value="{:$row.cancel_time?datetime($row.cancel_time):''}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Receiving_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-receiving_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[receiving_time]" type="text" value="{:$row.receiving_time?datetime($row.receiving_time):''}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_amount" class="form-control" step="0.01" name="row[order_amount]" type="number" value="{$row.order_amount|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_amounts')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_amounts" class="form-control" step="0.01" name="row[order_amounts]" type="number" value="{$row.order_amounts|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mileagefee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mileagefee" class="form-control" step="0.01" name="row[mileagefee]" type="number" value="{$row.mileagefee|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Coupon_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-coupon_money" class="form-control" step="0.01" name="row[coupon_money]" type="number" value="{$row.coupon_money|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Coupon_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-coupon_id"  data-source="coupon/coupon/index" class="form-control selectpage" name="row[coupon_id]" type="text" value="{$row.coupon_id|htmlentities}" data-field="title" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="orderStatusList" item="vo"}
            <label for="row[order_status]-{$key}"><input id="row[order_status]-{$key}" name="row[order_status]" type="radio" value="{$key}" {in name="key" value="$row.order_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refund_reason')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refund_reason" class="form-control" name="row[refund_reason]" type="text" value="{$row.refund_reason|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_store_order')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_store_order" class="form-control selectpicker" name="row[is_store_order]" readonly>
                {foreach name="isStoreOrderList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.is_store_order"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Store_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-store_money" class="form-control" step="0.01" name="row[store_money]" type="number" value="{$row.store_money|htmlentities}"  readonly="readonly">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Platform_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-platform_money" class="form-control" step="0.01" name="row[platform_money]" type="number" value="{$row.platform_money|htmlentities}" readonly="readonly">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Technician_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-technician_price" class="form-control" step="0.01" name="row[technician_price]" type="number" value="{$row.technician_price|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refund_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refund_status" class="form-control" name="row[refund_status]" type="number" value="{$row.refund_status|htmlentities}" readonly="readonly">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refund_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refund_money" class="form-control" step="0.01" name="row[refund_money]" type="number" value="{$row.refund_money|htmlentities}" readonly="readonly">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Payment_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-payment_type" class="form-control selectpicker" name="row[payment_type]" readonly>
                {foreach name="paymentTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.payment_type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Comment_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-comment_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[comment_time]" type="text" value="{:$row.comment_time?datetime($row.comment_time):''}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Add_bell_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-add_bell_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[add_bell_time]" type="text" value="{:$row.add_bell_time?datetime($row.add_bell_time):''}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Arrive_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-arrive_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[arrive_time]" type="text" value="{:$row.arrive_time?datetime($row.arrive_time):''}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('U_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-u_address" class="form-control" name="row[u_address]" type="text" value="{$row.u_address|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Serve_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-serve_time" class="form-control"  name="row[serve_time]" type="text" value="{$row.serve_time|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Change_address')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-change_address" class="form-control selectpicker" name="row[change_address]" readonly>
                {foreach name="changeAddressList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.change_address"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Appointment_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-appointment_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[appointment_time]" type="text" value="{:$row.appointment_time?datetime($row.appointment_time):''}" readonly="readonly">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('First_level_commission')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-first_level_commission" class="form-control" step="0.01" name="row[first_level_commission]" type="number" value="{$row.first_level_commission|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sub_commission')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sub_commission" class="form-control" step="0.01" name="row[sub_commission]" type="number" value="{$row.sub_commission|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lat" class="form-control" step="0.0000000001" name="row[lat]" type="number" value="{$row.lat|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lon')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lon" class="form-control" step="0.0000000001" name="row[lon]" type="number" value="{$row.lon|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Detail')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-detail" class="form-control" name="row[detail]" type="text" value="{$row.detail|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
